using System;
using System.Collections.Generic;
using System.Text;

namespace tKitchen
{
    public class IngredientPO
    {
        int ingredientId;
        string name;
        string descr;
        IngredientCategoryPO category;

        #region Properties
        public int IngredientId
        {
            get { return ingredientId; }
            set { ingredientId = value; }
        }

        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        public string Descr
        {
            get { return descr; }
            set { descr = value; }
        }

        public IngredientCategoryPO Category
        {
            get { return category; }
            set { category = value; }
        }


        #endregion

        public IngredientPO()
        {
        }
        public IngredientPO(int idIn, string nameIn, string descIn, IngredientCategoryPO catIn, UnitPO unitIn, double amountIn)
        {
            ingredientId = idIn;
            name = nameIn;
            descr = descIn;
            category = catIn;
        }
    }
}
